package com.hncc.kumao.entity;
/**
 * 实体类
 * @author Administrator *
 */
public class NetdiskAccessToken {	
	private String id;//网盘访问令牌编号
	private String userId;//该网盘访问令牌所属用户
	private String netdiskAlias;//网盘别名
	private Integer netdiskType;//网盘类型 1：百度网盘、2：坚果云、3：FTP、4：Seafile。
	private String netdiskUrl;//网盘（接口）地址
	private Integer tokenType;//令牌类型 1：一个 access_token 字符串 2：账号密码 3：匿名访问
	private String accessToken;//access_token 字符串
	private String username;//账号
	private String password;//密码
	private Integer state;//令牌状态 0 表示可用 1 表示失效，需要用户更新或重新授权
	
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getNetdiskAlias() {
        return netdiskAlias;
    }
    public void setNetdiskAlias(String netdiskAlias) {
        this.netdiskAlias = netdiskAlias;
    }
    public Integer getNetdiskType() {
        return netdiskType;
    }
    public void setNetdiskType(Integer netdiskType) {
        this.netdiskType = netdiskType;
    }
    public String getNetdiskUrl() {
        return netdiskUrl;
    }
    public void setNetdiskUrl(String netdiskUrl) {
        this.netdiskUrl = netdiskUrl;
    }
    public Integer getTokenType() {
        return tokenType;
    }
    public void setTokenType(Integer tokenType) {
        this.tokenType = tokenType;
    }
    public String getAccessToken() {
        return accessToken;
    }
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Integer getState() {
        return state;
    }
    public void setState(Integer state) {
        this.state = state;
    }
    
    @Override
    public String toString() {
        return "NetdiskAccessToken [id=" + id + ", userId=" + userId + ", netdiskAlias=" + netdiskAlias
                + ", netdiskType=" + netdiskType + ", netdiskUrl=" + netdiskUrl + ", tokenType=" + tokenType
                + ", accessToken=" + accessToken + ", username=" + username + ", password=" + password + ", state="
                + state + "]";
    }
}
